package com.demo.seckill.service;

import com.demo.seckill.entity.Seckill;
import com.baomidou.mybatisplus.extension.service.IService;
import com.demo.seckill.enums.SeckillStatEnum;

/**
 * <p>
 * 秒杀库存表 服务类
 * </p>
 *
 * @author 翌擎科技
 * @since 2021-10-26
 */
public interface ISeckillService extends IService<Seckill> {

    SeckillStatEnum startOneSeckill(long seckillId, long userId);

    SeckillStatEnum startTwoSeckill(long seckillId, long userId);

    SeckillStatEnum startThreeSeckill(long seckillId, long userId);

    SeckillStatEnum startFourSeckill(long seckillId, long userId);

    SeckillStatEnum startFiveSeckill(long seckillId, long userId);

    SeckillStatEnum startDistributedOneSeckill(long seckillId, long userId);

    SeckillStatEnum startDistributedTwoSeckill(long seckillId, long userId);
}
